package com.haixiaoke.saas.apartment.service;

import com.haixiaoke.saas.apartment.domain.HousingPrice;

import java.util.List;

/**
 * 房屋配置的房费Service接口
 * 
 * @author panda
 * @date 2024-04-07
 */
public interface IHousingPriceService {
    /**
     * 查询房屋配置的房费
     * 
     * @param allocationId 房屋配置的房费主键
     * @return 房屋配置的房费
     */
    List<HousingPrice> selectHousingPriceByAllocationId(Long allocationId);

    /**
     * 查询房屋配置的房费列表
     * 
     * @param housingPrice 房屋配置的房费
     * @return 房屋配置的房费集合
     */
    List<HousingPrice> selectHousingPriceList(HousingPrice housingPrice);

    /**
     * 新增房屋配置的房费
     * 
     * @param housingPrice 房屋配置的房费
     * @return 结果
     */
    int insertHousingPrice(HousingPrice housingPrice);

    /**
     * 修改房屋配置的房费
     * 
     * @param housingPrice 房屋配置的房费
     * @return 结果
     */
    int updateHousingPrice(HousingPrice housingPrice);

    /**
     * 批量删除房屋配置的房费
     * 
     * @param allocationIds 需要删除的房屋配置的房费主键集合
     * @return 结果
     */
     int deleteHousingPriceByAllocationIds(Long[] allocationIds);

    /**
     * 删除房屋配置的房费信息
     * 
     * @param allocationId 房屋配置的房费主键
     * @return 结果
     */
     int deleteHousingPriceByAllocationId(Long allocationId);

    /**
     * 批量插入房费数据
     * @param housingPriceList
     * @return
     */
    int insertBatchHousingPrice(List<HousingPrice> housingPriceList);

    /**
     * 批量修改房费数据
     * @param housingPriceList
     * @return
     */
    int updateBatchHousingPrice(List<HousingPrice> housingPriceList);

    List<HousingPrice> selectHousingPriceByAllocationIds(List<Long> allocationIds);

    List<HousingPrice> selectHousingPriceByHouseId(String houseId);
}
